package com.wg.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wg.common.core.domain.PageQuery;
import com.wg.common.core.domain.TableDataInfo;
import com.wg.system.entity.SysFile;
import org.springframework.web.multipart.MultipartFile;

import java.util.Collection;

/**
 * OSS对象存储表(SysFile)服务接口
 *
 * @author wg
 * @date 2022-05-06 11:18:25
 */
public interface SysFileService extends IService<SysFile> {

    TableDataInfo<SysFile> queryPageList(SysFile file, PageQuery pageQuery);

    SysFile upload(MultipartFile file);

    Boolean deleteWithValidByIds(Collection<Long> ids, boolean isValid);
}

